package com.member.shop.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.member.common.annotation.Excel;
import com.member.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户列对象 sys_biz_user
 *
 * @author lixinchen
 * @date 2024-01-03
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class SysBizUserExportVo extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 站点
     */
    @Excel(name = "站点")
    private String tenantName;


//    /**
//     * 用户姓名
//     */
//    @Excel(name = "用户姓名")
//    private String nickName;



    /**
     * 店铺名称
     */
    @Excel(name = "店铺名称")
    private String shopName;



    /**
     * 登录手机号
     */
    @Excel(name = "手机号")
    private String userPhone;


    @Excel(name = "销售经理名称")
    private String salesName;

    @Excel(name = "销售经理手机号")
    private String salesPhone;


    /**
     * 销售人员
     */
    @Excel(name = "销售人员",readConverterExp="0=非销售,1=销售")
    private Long isSale;

    /**
     * 会员等级名称
     */
    @Excel(name = "会员等级",readConverterExp="1=VIP1,2=VIP2,3=VIP3,4=VIP4,5=VIP5")
    private Long memberGradeId;

    /**
     * 余额
     */
    @Excel(name = "余额")
    private BigDecimal surplus;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;





}
